package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品品牌
 */
@ApiModel(value = "ProductBrand对象",description = "商品品牌实体类")
@TableName("mr_product_brand")
@Data
public class ProductBrand implements Serializable {
    private static final long serialVersionUID = -4985320353163249503L;

    /**
     * 主键，分布式ID
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 尺码名称
     */
    @ApiModelProperty(value = "品牌名称")
    private String name;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
}
